package com.cn.eureka;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * @Description: EurekaApplication
 * @Author: ZhangMao
 * @Date: 2022-03-10
 * eureka（注册中心的启动类）
 */

@EnableEurekaServer
@SpringBootApplication(exclude= DataSourceAutoConfiguration.class)
public class EurekaApplication {
    public static void main(String[] args){
        SpringApplication.run(EurekaApplication.class,args);
    }
}
